Complexity-guided container replacement synthesis
نویسندگان
چکیده
Containers, such as lists and maps, are fundamental data structures in modern programming languages. However, improper choice of container types may lead to significant performance issues. This paper presents Cres, an approach that automatically synthesizes replacements improve runtime performance. The synthesis algorithm works with static analysis techniques identify how containers utilized the program, attempts select a method lower time complexity for each call. Our can preserve program behavior seize opportunity reducing execution effectively general inputs. We implement Cres evaluate it on 12 real-world Java projects. It is shown projects 384.2 KLoC 14 minutes discovers six categories replacements, which achieve average improvement 8.1%.
منابع مشابه
Complexity - A Guided Tour
What enables individually simple insects like ants to act with such precision and purpose as a group? How do trillions of neurons produce something as extraordinarily complex as consciousness? In this remarkably clear...
متن کاملOptimizing the Static and Dynamic Scheduling problem of Automated Guided Vehicles in Container Terminals
The Minimum Cost Flow (MCF) problem is a well-known problem in the area of network optimisation. To tackle this problem, Network Simplex Algorithm (NSA) is the fastest solution method. NSA has three extensions, namely Network Simplex plus Algorithm (NSA+), Dynamic Network Simplex Algorithm (DNSA) and Dynamic Network Simplex plus Algorithm (DNSA+). The objectives of the research reported in this...
متن کاملAutomated guided vehicle system for two container yard layouts
The explosive growth in the freight volumes has put a lot of pressure on seaport authorities to find better ways of doing daily operations in order to improve the performance and to cope with avalanches of containers processing at container terminals. Advanced technologies, and in particular automated guided vehicle systems (AGVS), have been recently proposed as possible candidates for improvin...
متن کاملSequential Pattern-Based Cache Replacement in Servlet Container
Servlet cache can effectively improve the throughput of Servlet container and reduce the response time experienced by the users. But the cache effect is dependent on the hit rate determined by the cache replacement algorithms. Servlets represent some business functions, so mining the business association among Servlets can improve the hit rate of cache replacement algorithms which in turn exhan...
متن کاملTask Coordination of Automated Guided Vehicles in a Container Terminal
This paper introduces a new generation of Automated Guided Vehicles, called IPSI® AGVs, which are evaluated in the operations of a Container Terminal. The objective is to identify number of automated guided vehicles and cassettes required in order to that a number of cranes will not be idle during ship loading and unloading operations. A protocol called Contract Net is evaluated in the coordina...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
ژورنال
عنوان ژورنال: Proceedings of the ACM on programming languages
سال: 2022
ISSN: ['2475-1421']
DOI: https://doi.org/10.1145/3527312